package com.gxa.zhonglong.service;

import com.gxa.zhonglong.exception.BusinessException;
import com.gxa.zhonglong.pojo.ProductCode;

import java.util.List;
import java.util.Map;

public interface ProductCodeService {
    void insert(ProductCode productCode) throws BusinessException;
    List<Map<String,Object>> select();
    List<Map<String,Object>> selectByName(String name);
    ProductCode selectById(Long productId);
    void delete(Long productId) throws BusinessException;
    void deleteChoose(List list);
}
